<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_wrapper
 * @copyright	Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;
?>
<div class="video">
	<div class="video-r">
		<embed src="<?php echo $film->trailer?>"
			type="application/x-shockwave-flash" height="250" width="370">
		<h3>
			<span style="font-weight: bold;">Synopsis</span>
		</h3>
		<?php echo $film->introtext; ?>
	</div>
	<div class="video-l">
		<img
			src="<?php echo $film->poster;?>"
			alt="film poster" align="middle">
		<h4><?php echo $film->title;?></h4>
		<p style="font-weight: bold;">Length: <?php echo $film->length; ?></p>
		<p style="font-weight: bold;">Versions: <?php echo $film->film_version; ?></p>
		<?php $value = $film->production;?>
		<?php 
			if($value!=NULL):
		?>
			<p style="font-weight: bold;">Production:<?php echo strip_tags($value, '<a>');?></p>
		<?php
		endif
		?> 	
		<?php if(isset($film->coproduction) && !empty($film->coproduction)) :?>
		<p style="font-weight: bold;">Co-production: <?php echo strip_tags($film->coproduction, '<a>');?></p>
		<?php endif;?>	
		<p style="font-weight: bold;">Directed by: <?php echo $film->directed_by; ?></p>
		<p></p>
	</div>
</div>